$f: 19.2;


.header {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 10;
  background: rgba(31, 75, 134, .8);

  .dom1 {
    padding: 16/$f+vw 123/$f+vw 0 113/$f+vw;
    display: flex;
    justify-content: flex-end;
    align-items: center;

    a {
      color: #D6D6D6;
      font-size: 14/$f+vw;
      transition: all 600ms;

      &:hover {
        color: white;
      }
    }

    span {
      width: 1px;
      height: 13px;
      background: #D6D6D6;
      margin: 0 17/$f+vw;
    }

    .search {
      margin-left: 10/$f+vw;
      cursor: pointer;

      img {
        width: 18/$f+vw;
        display: block;
      }
    }
  }

  .dom2 {
    padding: 0 124/$f+vw 0 113/$f+vw;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    margin-bottom: 12/$f+vw;

    .logo {
      img {
        width: 433/$f+vw;
        display: block;
      }
    }

    .links {
      display: flex;
      justify-content: flex-end;

      .item {
        position: relative;

        &:not(:first-child) {
          margin-left: 30/$f+vw;
        }

        .a1 {
          display: block;
          color: #FFFFFF;
          font-size: 18/$f+vw;
          padding:10/$f+vw 15/$f+vw 20/$f+vw 15/$f+vw;
          position: relative;
          transition: all 600ms;
          &::before{
            content:attr(data-title);
            display: block;
            position: absolute;
            left: 15/$f+vw;
            top:10/$f+vw;
            font-size: 18/$f+vw;
            transition: all 600ms;
            opacity: 0;
            font-weight: bold;
            color:white;
          }

          &::after {
            content: '';
            display: block;
            position: absolute;
            left: 50%;
            bottom: 0;
            width: 0;
            height: 1px;
            transform: translateX(-50%);
            transition: all 600ms;
            background: white;
          }
        }

        .on{
          color:transparent;
          &::before{
            opacity: 1;
          }
          &::after {
            width: 100%;
          }
        }

        .aList {
          display: none;
          position: absolute;
          left: 0;
          top: 100%;
          width: 200/$f+vw;

          a {
            display: block;
            background: rgba(31, 75, 134, .6);
            color: white;
            padding: 10/$f+vw 15/$f+vw;
            font-size: 16/$f+vw;
            transition: all 600ms;

            &:hover {
              background: rgba(31, 75, 134, 1);
            }
          }
        }

        &:hover {
          .a1 {
            color:transparent;
            &::before{
              opacity: 1;
            }
            &::after {
              width: 100%;
            }
          }

          .aList {
            display: block;
          }
        }
      }
    }
  }
}


.pheader {
  display: none;
  position: fixed;
  top: 0;
  height: 60px;
  width: 100%;
  left: 0;
  z-index: 1002;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);

  .menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #1F4B86;

    a {
      margin-left: 20px;

      img {
        height: 25px;
        object-fit: contain;
      }
    }

    .navbox {
      margin-right: 20px;
      transition: all 600ms;

      .line {
        width: 30px;
        height: 1px;
        background-color: #fff;
        margin: 8px 0;
        -webkit-transition: all .6s;
        transition: all .6s;
      }
    }

    .activeBox {
      transform: translateX(10px);

      .line:nth-child(1) {
        transform: rotate(45deg) translateY(12px);
      }

      .line:nth-child(2) {
        transform: translateX(30px);
        opacity: 0;
      }

      .line:nth-child(3) {
        transform: rotate(-45deg) translateY(-12px);
      }
    }
  }
}

.menuList {
  position: fixed;
  left: 0;
  top: 59px;
  width: 100%;
  z-index: 1001;
  background: rgba(0, 71, 157, 0.8);
  display: none;
  height: calc(100vh - 59px);
  padding: 20px 10% 0 10%;

  .item {
    //background: rgba(255,255,255,.8);
    // padding: 1rem;
    // background-color: #ededed;
    // border-bottom: 1px solid #dadada;
    width: 85%;
    margin: 0 auto;
    a {
      color: white;
      display: block;
      font-size: 20px;
      text-align: left;
      padding: 13px 15px 13px 25px;
      border-bottom: 1px rgba(255, 255, 255, 0.5) solid;
      background: url(../images/arrow.svg) left 16px no-repeat;
      background-size: 20px 20px;


      .rotate {
        transform: rotate(90deg);
      }
    }

    .types_top {
      display: none;

      a {
        font-size: 16px;
        margin-left: 20px;
        text-align: left;
      }
    }
  }
}

.activeList {
  transform: translateY(0);
}

.search_dom {
  background: rgba(0, 0, 0, 0.60);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.60);
  display: none;
  z-index: 100;

  .box {
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 35px 0;

    .icon {
      svg {
        width: 28px;
      }
    }

    .sr {
      margin: 0 1vw;
      position: relative;

      input {
        outline: none;
        border-radius: 30px;
        border: 1px solid #E5E5E5;
        width: 480px;
        padding: 10px 0;
        text-indent: 20px;
        color: #000;
        font-size: 16px;
      }

      a {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);

        svg {
          display: block;
          width: 16px;
        }
      }
    }

    .close {
      cursor: pointer;

      svg {
        width: 32px;
        display: block;
      }
    }
  }
}

.foot {
  background: #1F4B86;

  .dom1 {
    padding: 47/$f+vw 113/$f+vw;
    border-bottom: 2px solid white;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .logo {
      img {
        width: 359/$f+vw;
        display: block;
      }
    }

    .links {
      display: flex;

      .item {
        position: relative;
        &:not(:last-child){
          margin-right: 40/$f+vw;
        }
        .d1 {
          width: 107/$f+vw;
          // height: 22/$f+vw;
          border: 1px solid #FFFFFF;
          padding:5/$f+vw;
          display: flex;
          justify-content: space-between;
          align-items: center;
          p{
            color:white;
            font-size: 14/$f+vw;
          }
          img{
            width: 9/$f+vw;
            display: block;
            margin-right: 5/$f+vw;
          }
        }
        .d2{
          position: absolute;
          left: 0;
          top:100%;
          width: 100%;
          background: white;
          display: none;
          a{
            display: block;
            padding: 8/$f+vw;
            font-size: 14/$f+vw;
            color:#000;
            transition: all 600ms;
            &:hover{
              background: #000;
              color:white;
            }
          }
        }
        &:hover{
          .d2{
            display: block;
          }
        }
      }
    }
  }
  .dom2{
    display: flex;
    justify-content: center;
    padding: 18/$f+vw 0;
    p{
      color:white;
      font-size: 14/$f+vw;
      margin: 0 30/$f+vw;
    }
  }
}


@media screen and (max-width: 1024px) {
  .header {
    display: none;
  }

  .pheader {
    display: flex;
  }

  .foot{
    .dom1{
      flex-direction: column;
      padding: 20px 5%;
      .logo{
        img{
          width: auto;
          height: 25px;
        }
      }
      .links{
        width: 100%;
        margin-top: 20px;
        justify-content: space-between;
        .item{
          width: 48%;
           .d1{
            width: 100%;
            padding: 5px 10px;
            p{
              font-size: 14px;
            }
            img{
              width: 10px;
            }
           }
           .d2{
            a{
              padding: 8px;
              font-size: 14px;
            }
           }
        }
      }
    }
    .dom2{
      padding: 20px 5%;
      flex-direction: column;
      text-align: center;
      line-height: 2;
      p{
        font-size: 14px;
      }
    }
  }

}